home *** CD-ROM | disk | FTP | other *** search
- diag
- Copyright (c) 1994-1995, The Software Construction Co. All rights
- reserved.
-
- The diag program has been developed to help you diagnose some of the
- more common problems that we have encountered from our user
- community. It may not solve all of your problems, but perhaps it
- will find the problem for some users.
-
- Test 1: chkdsk
- ==============
-
- This test runs your computer's chkdsk command to look for problems on
- your disk. Scan the output for reported errors from this utility.
- See your MS-DOS manual for more information both on running the chkdsk
- command as well as information on correcting any errors that may be
- reported.
-
- If the chkdsk command cannot be run, a warning will be displayed.
- There is nothing particularly wrong with this. You, simply, will not
- get the benefit of running the test.
-
- Test 2: TMP environment variable
- ================================
-
- Some of our programs use the value of the TMP environment variable to
- tell where some temporary data files will be stored. While it is not
- necessary for this environment variable to exist, it is necessary for
- the directory it points to to exist. For example, if your
- AUTOEXEC.BAT file has the following line:
-
- SET TMP=C:\TEMP
-
- the TEMP dirctory must exist on the C: drive.
-
- A warning will be displayed if the TMP environment variable doesn't
- exist. An error will be displayed if the directory described in the
- value doesn't exist.
-
- SOLUTION: Create the directory, change the definition of the TMP
- environment variable, or remove the line altogether from
- your AUTOEXEC.BAT file.
-
- Test 3: TEMP environment variable
- =================================
-
- Some of our programs use the value of the TEMP environment variable to
- tell where some temporary data files will be stored. While it is not
- necessary for this environment variable to exist, it is necessary for
- the directory it points to to exist. For example, if your
- AUTOEXEC.BAT file has the following line:
-
- SET TEMP=C:\TEMP1
-
- the TEMP1 dirctory must exist on the C: drive.
-
- A warning will be displayed if the TEMP environment variable doesn't
- exist. An error will be displayed if the directory described in the
- value doesn't exist.
-
- SOLUTION: Create the directory, change the definition of the TMP
- environment variable, or remove the line altogether from
- your AUTOEXEC.BAT file.
-
- Test 4: Duplicate environment variables
- =======================================
-
- The diag program checks each of the SET commands in your AUTOEXEC.BAT
- file to determine that they are all unique. If a duplicate
- environment variable is found, it will be reported as an error.
- While, technically, this is not an error, it is probably not what you
- want in your AUTOEXEC.BAT. Note that the value that is used by your
- system is the last line setting the environment variable. In other
- words, all but the final line wll be ignored.
-
- A warning will be displayed if we cannot find your AUTOEXEC.BAT file.
- We expect to find it in the root directory of the current drive.
-
- SOLUTION: Remove all but one of the duplicate SET command lines from
- your AUTOEXEC.BAT file.
-
- Test 5: Format of the TZ environment variable
- =============================================
-
- The format of the TZ environment variable is very special. Having an
- incorrect value can cause many different problems.
-
- The syntax of the TZ environment variable line in your AUTOEXEC.BAT
- file is:
-
- SET TZ=xxxyzzz
-
- where:
- xxx is the three character abbreviation for your timezone (e.g., EST).
- If you have no abbreviation, use a three letter abbreviation for
- your country name.
- y is a number (with an option + or - in front) that tells the
- difference between your timezone and Greenwich Mean Time.
- Positive numbers adjust eastward and negative numbers westward
- (e.g., 5=EST, +8=PST, -1=continental Europe).
- zzz is the optional name that represents the abbreviation when you
- are in daylight savings time. If your timezone doesn't observe
- daylight savings time, don't include this field.
-
- SOLUTION: Either remove the SET TZ line from your AUTOEXEC.BAT file or
- correct the format to that described above. It is better to
- have no TZ environment variable than an incorrect one!
-
-
-